import request from '@/utils/request'

const h5Api = {
  getH5Rank: 'open/qw/gameTaskPlay/getH5Rank',
  getH5MySharePoster: 'open/qw/gameTaskPlay/getH5MyShareLink'
}

export function getH5Rank (parameter) {
  return request({
    url: h5Api.getH5Rank,
    method: 'get',
    params: parameter
  })
}

export function getH5MySharePoster (parameter) {
  return request({
    url: h5Api.getH5MySharePoster,
    method: 'get',
    params: parameter
  })
}

export default {
  getH5Rank,
  getH5MySharePoster

}
